package com.siburian.MyStuff;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.content.Intent;

public class FiturProfil extends Activity{
	Button pageAddprofil;
	Button pageChooseProfil;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.fitur_profil);
        pageAddprofil = (Button) findViewById(R.id.btnGoToAddProfilPage);
        pageChooseProfil = (Button) findViewById(R.id.btnGoToChooseProfilPage);
        pageAddprofil.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(FiturProfil.this,AddProfil.class);
				startActivity(i);
			}
		});
        pageChooseProfil.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(FiturProfil.this,ListProfil.class);
				startActivity(i);
			}
		});
    }
}
